package com.jdrx.sw.sewage.beans.entity;

import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@ApiModel(value = "StationReportPO", description = "站点报表")
@Data
public class StationReportPO implements Serializable {
    private static final long serialVersionUID = -1206960462117924923L;

    @ApiModelProperty(value = "id主键")
    private Long id;

    @ApiModelProperty(value = "数据")
    private JSONObject jsonVal;

    @ApiModelProperty(value = "站点id")
    private Long stationId;

    @ApiModelProperty(value = "报表类型类型(1 - 水质  2-能耗)")
    private Integer reportType;

    @ApiModelProperty(value = "时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
}